package com.eclab.hello.properties.eclab;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 描述:
 * 应用信息类
 * @author yd
 * @create 2019-06-12 11:10
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "eclab.application")
@PropertySource("classpath:test.properties")
public class EclabProperties2 {

    private String name;

    private String version;

}
